package com.dodoke.ojserver.mapper;

import com.dodoke.ojserver.bean.Users;
import com.dodoke.ojserver.bean.dto.UsersDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UsersMapper {
    Users getUsersByNameAndPassword(UsersDTO usersDTO);

    Users findUserById(String id);

}

